/*
 * Deadline class for the Conference Application
 * Author: Jonathan Forbes
 * TCSS 360 Spring 2013 
 * University of Washington
 */

package Model;

import java.io.Serializable;

public class Deadline implements Serializable{
	
	/**
	 * Class that holds the Model of the Deadline object, which can be resolved to a specific day.
	 * 
	 * @author Jonathan Forbes
	 * @version 1.0
	 */
	private static final long serialVersionUID = 1L;

	// Note that months start with 0 (January) and go to 11 (December)
	private int date_month;
	
	private int date_year;
	
	private int date_day;
	
	public Deadline(int date_month, int date_day, int date_year) {
		this.date_month = date_month;
		this.date_year = date_year;
		this.date_day = date_day;
	}
	
	public int getDateMonth() {
		return date_month;
	}
	
	public int getDateYear() {
		return date_year;
	}
	
	public int getDateDay() {
		return date_day;
	}
	@Override
	public String toString() {
		String theDeadline = "";
		theDeadline = theDeadline + date_month+"/"+date_day+"/"+date_year;
		return theDeadline;
		
	}
}
